use sea_orm::DbErr;
use std::sync::Arc;

use crate::app_service::AppService;

pub async fn init(service: Arc<AppService>) -> Result<(), DbErr> {
    service.request_map_service.init().await?;
    service.role_service.init().await?;

    Ok(())
}
